﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;

namespace TreeBuilder
{

	public class TreeNodeBox : TextBox
	{
		public static readonly DependencyProperty IsBeingLinkedProperty =
			DependencyProperty.Register("IsBeingLinked", typeof(bool), typeof(TreeNodeBox));

		public bool IsBeingLinked
		{
			get { return (bool)GetValue(IsBeingLinkedProperty); }
			set { SetValue(IsBeingLinkedProperty, value); }
		}

		public bool IsBeingPrinted
		{
			get { return (bool)GetValue(IsBeingPrintedProperty); }
			set { SetValue(IsBeingPrintedProperty, value); }
		}

		public static readonly DependencyProperty IsBeingPrintedProperty =
			DependencyProperty.Register("IsBeingPrinted", typeof(bool), typeof(TextBox), new UIPropertyMetadata(false));
	}
}
